@import '../index.scss';

.banner {
  width: 100%;
  position: relative;
  &.pt {
    padding-top: 0.6rem;
  }
  .swiper-container {
	  height: 4rem;
    .swiper-wrapper {
      display: flex;
      align-items: center;
    }
    .banner--img {
      display: block;
      font-size: 0;
      height: 100%;
      img {
        width: 100%;
		height: 100%;
      }
    }
  }
  .swiper-pagination-bullet {
    background-color: #fff;
  }
  .swiper-pagination {
    font-size: 0;
    text-align: center;
    left: 0;
    bottom: 0.2rem;
  }
  .swiper-pagination-bullet-active {
    width: 0.3rem !important;
    border-radius: 0.05rem !important;
  }
  .swiper-pagination-bullet {
    width: 0.08rem;
    height: 0.08rem;
    background-color: #fff;
    opacity: 1;
    margin: 0 0.04rem !important;
  }
  .banner-tip2 {
    width: 2rem;
    height: 0.6rem;
    position: absolute;
    right: 0;
    bottom: 0.16rem;
    color: #fff;
    font-size: 0.24rem;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.3);
  }
  .banner-water {
    width: 2rem;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
  }
  .banner-gradient {
    width: 100%;
    height: 0.8rem;
    position: absolute;
    right: 0;
    bottom: -0.01rem;
    z-index: 2;
  }
  .banner-bottom {
    width: 100%;
    height: 0.28rem;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 2;
  }
}
